home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 18301 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.5 KB  |  61 lines

  1. Newsgroups: comp.lang.c++,comp.os.ms-windows.nt.misc,comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools.mfc,comp.os.ms-windows.programmer.tools.misc
  2. Path: bath.ac.uk!uwe-bristol!usenet
  3. From: s-hewitt@uwe.ac.uk (Shaun Hewitt)
  4. Subject: MFC VC++ 4.0, Possible Bug??? in Class Wizard or Project Wizard
  5. Content-Type: Text/Plain; charset=ISO-8859-1
  6. Message-ID: <1996Apr19.110555.21755@pat.uwe.ac.uk>
  7. Summary: MFC VC++ 4.0, Possible Bug??? in Class Wizard or Project Wizard
  8. Keywords: Class Project Wizard Dialog Bug
  9. Sender: usenet@pat.uwe.ac.uk (uwe nntp usenet poster)
  10. Nntp-Posting-Host: usenet@pat.uwe.ac.uk (uwe nntp usenet poster)
  11. Organization: IASeL
  12. X-Newsreader: WinVN 0.99.5
  13. Mime-Version: 1.0
  14. Date: Fri, 19 Apr 1996 11:05:55 GMT
  15.  
  16. MFC VC++ 4.0, Possible Bug??? in Class Wizard or Project Wizard
  17. ===============================================================
  18.  
  19. Hi, I'm not sure if this is actually a bug or something that
  20. I am doing wrong so I would apprieciate some feedback on this one
  21. since Microsoft are pritty usless at support.
  22.  
  23. The problem seems to occur when I use the classwizard to produce
  24. skelatan code for a 'Dialog Based' application. Combined with the 
  25. resource editor and 'Class Wizard'. Basically after adding the 
  26. controls to the main application dialog, the class wizard refuses 
  27. to acknowledge there existance.
  28.  
  29. I am running on a 486DX2- 66 machine, plenty of RAM and Drive 
  30.  
  31. Sequence to problem ~
  32.  
  33. First stage - Creating Workspace
  34. =================================
  35. 1  Having started MS VC++ 4.00 Select 'File/New' from menu
  36. 2  Select 'Project Workspace' From dialog and 'OK'
  37. 3  Select 'MFC Application(exe)', name: TestDlg 'CREATE'
  38. 4  MFC AppWizard Step 1 ~ Select 'Dialog Based', 'Next>'
  39. 5  MFC AppWizard Step 2 ~ unchanged, 'Next>'
  40. 6  MFC AppWizard Step 3 ~ Select 'Statically Linked Library', 'Next >'
  41. 7  MFC AppWizard Step 4 ~ Select 'Finish'
  42.  
  43. 8  Select 'Resource View' in IDE
  44. 9  Expand Dialog and select main application dialog, 
  45.    in this case IDD_TESTDLG_DIALOG
  46. 10 Delete the 'TODO: Place dialog controls here' static text box
  47. 11 Add a 'List Control' and change its ID in properties to IDC_LISTCTRL
  48.    Select the styles in the properties and change view to 'Report' 
  49. 12 Add an 'Edit Box' and change its ID in properties to IDC_EDITBOX
  50. 13 Add a 'Button' and change its in properties ID ~ IDC_ADD, Caption ~ &Add
  51.  
  52.  
  53. Heres the Problem!!!!
  54. 14 Now select the ClassWizard
  55.  
  56. In MFC ClassWizard 'Message Maps' IDC_LISTCTRL has no Messages ????
  57.  
  58. Selecting 'Member Variables' the IDC_ADD, IDC_EDITBOX and IDC_LISTCTRL
  59. are missing from the 'COntrol ID's' list.
  60.  
  61.